import Http from '@/common/http'

export default {

  wxLogin: (params = {}) => Http.post('/account/register', params),

  register: (params = {}) => Http.post('/account/register', params),

  pwdLogin: (params = {}) => Http.post('/account/password/login', params),

  mobileLogin: (params = {}) => Http.post('/account/verify/login', params),

  logout: (params = {}) => Http.post('/account/logout', params),

  resetPassword: (params = {}) => Http.post('/account/password/reset', params),

  updatePhone: (params = {}) => Http.post('/account/phone/update', params),

  updateEmail: (params = {}) => Http.post('/account/email/update', params),

  updatePassword: (params = {}) => Http.post('/account/password/update', params)

}
